/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}


/*
 * Global add-ons
 */
 
.breadcrumbs-arrow{
  margin-left: 15px;
  margin-right: 15px;
}

.input-flex{
  display: flex;
}

.noborder{
  border-radius: 0px;
}

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

/*
 * Text colors for highlighting different money values
 */
 
.money-pos {
	color: #5ccb30;
}

.money-neg {
	color: red;
}

.money-zero {
	color: black;
}

ul.dropdown-menu-form {
    padding: 5px 10px 0;
    max-height: 300px;
    overflow-y: scroll;
}

.dropdown-checkbox{
	margin-left: 30px;
}

/* Kacheln für die Einkaufslisten */
.tile {
	position: relative;
	/*width: 60%;*/
	background: #ddd;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 5px 20px;
	color: rgba(0,0,0, .8);
	text-shadow: 0 1px 0 #fff;
	line-height: 1.5;
	margin: 15px 0px;
	-webkit-box-shadow: inset 0px 0px 15px 10px rgba(255,255,255,0.5);
	-moz-box-shadow: inset 0px 0px 15px 10px rgba(255,255,255,0.5);
	box-shadow: inset 0px 0px 15px 10px rgba(255,255,255,0.5);
}

.tile .tile-fill {
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 2px;
	padding-top: 2px;
}

.tile:before, .tile:after {
	z-index: -1; 
	position: absolute; 
	content: "";
	bottom: 15px;
	left: 10px;
	width: 50%; 
	top: 70%;
	max-width:300px;
	background: rgba(0, 0, 0, 0.7); 
	box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
	transform: rotate(-3deg);
}

.tile:after {
	transform: rotate(3deg);
	right: 10px;
	left: auto;
}

.tile.tile-fill a, a:hover, a:visited, a:link, a:active{
	text-decoration: none
}

.box {
	border-radius: 2px;
	-webkit-box-shadow: 0px 1px 1px 0px rgba(110,110,110,1) , inset 0px 0px 10px 2px rgba(250,250,250,1);
	-moz-box-shadow: 0px 1px 1px 0px rgba(110,110,110,1) , inset 0px 0px 10px 2px rgba(250,250,250,1);
	box-shadow: 0px 1px 1px 0px rgba(110,110,110,1) , inset 0px 0px 10px 2px rgba(250,250,250,1);
    margin: 0 0 30px;
}

.smalltile {
	background: none repeat scroll 0 0 #e8e8e8;
    border-radius: 2px;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.5;
    margin: 15px 0;
    padding: 10px 10px;
    position: relative;
    text-shadow: 0 1px 0 #fff;
}

.smalltile i {
	border-radius: 2px;
    color: white;
    display: block;
    float: left;
    font-size: 22px;
    margin-right: 10px;
    padding: 14px 0;
    text-align: center;
    width: 50px;
	text-shadow: none;
}

.smalltile .title {
    font-size: 14px;
    margin-top: 4px;
    top: 12px;
	font-weight: bold;
}

.smalltile .value {
	color: #000;
    font-size: 20px;
    font-weight: bold;
}
	
.green {
	background-color: #bdea74;
}

.red {
	background-color: #ff5454;
}

.blue {
	background-color: #36a9e1;
}
